//
//  DetailsScreen.h
//  Gekko
//
//  Created by jose on 02/06/13.
//  Copyright (c) 2013 Jose Luis Lopez. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Receipt.h"
#import "ArchiverUnarchiver.h"
#import "SVProgressHUD.h"
#import "ReceiptsHolder.h"
#import "ReceiptController.h"

@interface DetailsScreen : UIViewController <UITextFieldDelegate, UITextViewDelegate, UIPickerViewDelegate, UITextViewDelegate, UIAlertViewDelegate>

@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;

@property (weak, nonatomic) IBOutlet UILabel *labelTitle;
@property (weak, nonatomic) IBOutlet UILabel *labelDate;
@property (weak, nonatomic) IBOutlet UILabel *labelTotal;
@property (weak, nonatomic) IBOutlet UILabel *labelTax1;
@property (weak, nonatomic) IBOutlet UILabel *labelRate1;
@property (weak, nonatomic) IBOutlet UILabel *labelTax2;
@property (weak, nonatomic) IBOutlet UILabel *labelRate2;
@property (weak, nonatomic) IBOutlet UILabel *labelTax3;
@property (weak, nonatomic) IBOutlet UILabel *labelRate3;
@property (weak, nonatomic) IBOutlet UILabel *labelCost;
@property (weak, nonatomic) IBOutlet UILabel *labelDesc;

@property (weak, nonatomic) IBOutlet UIView *viewContainer;

@property (weak, nonatomic) IBOutlet UIButton *buttonPicture;
@property (weak, nonatomic) IBOutlet UIButton *buttonSave;
@property (weak, nonatomic) IBOutlet UIButton *buttonUpload;
@property (weak, nonatomic) IBOutlet UIButton *buttonPlus;
@property (weak, nonatomic) IBOutlet UIButton *buttonBack;

@property (weak, nonatomic) IBOutlet UITextField *inputDate;
@property (weak, nonatomic) IBOutlet UITextField *inputTotalAmmount;
@property (weak, nonatomic) IBOutlet UITextField *inputTaxAmount1;
@property (weak, nonatomic) IBOutlet UITextField *inputTaxRate1;
@property (weak, nonatomic) IBOutlet UITextField *inputTaxAmount2;
@property (weak, nonatomic) IBOutlet UITextField *inputTaxRate2;
@property (weak, nonatomic) IBOutlet UITextField *inputTaxAmount3;
@property (weak, nonatomic) IBOutlet UITextField *inputTaxRate3;
@property (weak, nonatomic) IBOutlet UITextField *inputCostType;
@property (weak, nonatomic) IBOutlet UITextView *inputDescription;
@property (weak, nonatomic) IBOutlet UILabel *labelPlaceholderDescription;


@property NSInteger level;
@property BOOL comesFromHistory;

- (IBAction)savePressed:(UIButton *)sender;
- (IBAction)uploadPressed:(UIButton *)sender;
- (IBAction)plusPressed:(UIButton *)sender;
- (IBAction)imagePressed:(UIButton *)sender;
- (IBAction)backPressed:(UIButton *)sender;

@end
